package com.why.vo;


import com.why.entity.ProductImgEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ProductVO implements Serializable {

    private String productId;
    private String productName;
    private Integer categoryId;
    private Integer rootCategoryId;
    private Integer soldNum;
    private Integer productStatus;
    private Date createTime;
    private Date updateTime;
    private String content;
    /**
     * 图片地址 图片地址
     */
    private String url;
    /**
     * 顺序 图片顺序，从小到大
     */
    private Integer sort;
    /**
     * 是否主图 是否主图，1：是，0：否
     */
    private Integer isMain;
    //private List<Pro> skus; //在查询商品的时候，关联查询商品套餐信息
}
